gtk4.git
4 years agobuildertool: Fix a simplify issue
Matthias Clasen [Wed, 29 Sep 2021 11:48:33 +0000 (07:48 -0400)]
buildertool: Fix a simplify issue

<lookup> elements can contain a type name, we can't just
ignore the pcdata content. This was breaking some of our
ui files when simplifying them.

4 years agogtk-builder-tool: Simplify more
Matthias Clasen [Wed, 29 Sep 2021 01:58:29 +0000 (21:58 -0400)]
gtk-builder-tool: Simplify more

Simplify enum properties as well.

Update affected tests.

4 years agoMerge branch 'wip/chergert/fix-4279' into 'master'
Matthias Clasen [Wed, 29 Sep 2021 01:22:35 +0000 (01:22 +0000)]
Merge branch 'wip/chergert/fix-4279' into 'master'

macos: handle NULL surface when creating GL context

Closes #4279

See merge request GNOME/gtk!4008

4 years agomacos: handle NULL surface when creating GL context
Christian Hergert [Wed, 29 Sep 2021 00:36:23 +0000 (17:36 -0700)]
macos: handle NULL surface when creating GL context

Fixes #4279

4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Tue, 28 Sep 2021 22:24:13 +0000 (22:24 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

builder: Simplify parameter collection

See merge request GNOME/gtk!4006

4 years agobuilder-tool: Avoid <style> when converting
Matthias Clasen [Tue, 28 Sep 2021 19:59:24 +0000 (15:59 -0400)]
builder-tool: Avoid <style> when converting

We can just set the css-classes property instead.

Update affected tests.

4 years agobuilder: Simplify parameter collection
Matthias Clasen [Tue, 28 Sep 2021 20:59:22 +0000 (16:59 -0400)]
builder: Simplify parameter collection

This avoids setting the GValue only to toss it at the
end of the loop body. Instead, we can just do nothing
if this property isn't interesting to us.

4 years agoUpdate Hebrew translation
Yaron Shahrabani [Tue, 28 Sep 2021 20:27:52 +0000 (20:27 +0000)]
Update Hebrew translation

(cherry picked from commit e230579149d4724e3d668c543c3ba8ef08eb1a7d)

4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Tue, 28 Sep 2021 20:24:16 +0000 (20:24 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

entry: Clarify docs

See merge request GNOME/gtk!4005

4 years agodocs: Mention popovers in the migration guide
Matthias Clasen [Tue, 28 Sep 2021 19:47:06 +0000 (15:47 -0400)]
docs: Mention popovers in the migration guide

Things have changed around popovers, we should mention
that.

4 years agoentry: Clarify docs
Matthias Clasen [Tue, 28 Sep 2021 19:40:41 +0000 (15:40 -0400)]
entry: Clarify docs

Mention that max length is in characters.

4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Tue, 28 Sep 2021 19:39:57 +0000 (19:39 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Fix the build

See merge request GNOME/gtk!4004

4 years agoMerge branch 'builder-binding-ordering' into 'master'
Matthias Clasen [Tue, 28 Sep 2021 19:38:30 +0000 (19:38 +0000)]
Merge branch 'builder-binding-ordering' into 'master'

builder: Fix handling of `<binding>`

Closes #4147

See merge request GNOME/gtk!4003

4 years agoFix the build
Matthias Clasen [Tue, 28 Sep 2021 12:25:00 +0000 (08:25 -0400)]
Fix the build

gcc was complaining here with -Werror=return-type.

4 years agobuilder: Fix handling of <binding>
Matthias Clasen [Tue, 28 Sep 2021 17:47:15 +0000 (13:47 -0400)]
builder: Fix handling of <binding>

We were only applying <binding> elements when the
object is constructed, which can be triggered by
various things (e.g. a <style> element). Defer
this until we reach </object>, so we can be sure
that we pick up all the bindings.

Testcase included.

Fixes: #4147
4 years agoMerge branch 'fix-builder-parsing' into 'master'
Matthias Clasen [Tue, 28 Sep 2021 04:32:30 +0000 (04:32 +0000)]
Merge branch 'fix-builder-parsing' into 'master'

builder: Fix parsing of mixed declarations

Closes #4208

See merge request GNOME/gtk!3997

4 years agoMerge branch 'wip/lantw/GDK-Win32-Use-lowercase-windows.h' into 'master'
Benjamin Otte [Mon, 27 Sep 2021 23:23:36 +0000 (23:23 +0000)]
Merge branch 'wip/lantw/GDK-Win32-Use-lowercase-windows.h' into 'master'

GDK/Win32: Use lowercase windows.h

See merge request GNOME/gtk!4000

4 years agoMerge branch 'builder-leaks' into 'master'
Matthias Clasen [Mon, 27 Sep 2021 23:16:29 +0000 (23:16 +0000)]
Merge branch 'builder-leaks' into 'master'

builder: Don't leak refs

See merge request GNOME/gtk!4001

4 years agoMerge branch 'btj-master-patch-30099' into 'master'
Emmanuele Bassi [Mon, 27 Sep 2021 22:32:00 +0000 (22:32 +0000)]
Merge branch 'btj-master-patch-30099' into 'master'

ConstraintGuide getters: annotate out parameters as such

See merge request GNOME/gtk!4002

4 years agobuilder: Fix parsing of mixed declarations
Matthias Clasen [Fri, 24 Sep 2021 20:34:48 +0000 (16:34 -0400)]
builder: Fix parsing of mixed declarations

The GtkBuilder parser constructs the object e.g.
when handling a <binding> element. There may be
more <property> elements after it, which we were
just not applying. Fix that by always applying
property when we see </object>. To do that, we
need to track the applied status per property.

Test included.

Fixes: #4208
4 years agobuilder: Consistently use builder_construct
Matthias Clasen [Mon, 27 Sep 2021 16:57:47 +0000 (12:57 -0400)]
builder: Consistently use builder_construct

It seems odd to use this helper in one place,
but not the other.

4 years agoAdd an assertion and comment
Matthias Clasen [Mon, 27 Sep 2021 21:17:06 +0000 (17:17 -0400)]
Add an assertion and comment

Maybe it helps the person unfortunate enough
to stumble in here.

4 years agoConstraintGuide getters: annotate out parameters as such
Bart Jacobs [Mon, 27 Sep 2021 21:23:45 +0000 (21:23 +0000)]
ConstraintGuide getters: annotate out parameters as such

4 years agocoloreditor: Don't unref unless we own it
Matthias Clasen [Mon, 27 Sep 2021 20:40:29 +0000 (16:40 -0400)]
coloreditor: Don't unref unless we own it

Calling gtk_widget_class_bind_template_child does
*not* give you a reference that you need to unref.
It manages the reference for you. So calling
g_clear_object on such a member is wrong.

4 years agobuilder: Don't leak refs
Matthias Clasen [Mon, 27 Sep 2021 20:38:32 +0000 (16:38 -0400)]
builder: Don't leak refs

We sometimes end up setting an object on a GValue
that we are then not interested in. We need to
unset it, or we'll leak the ref.

4 years agoMerge branch 'wip/lantw/broadway-Use-the-correct-way-to-call-find_library' into ...
Matthias Clasen [Mon, 27 Sep 2021 14:48:58 +0000 (14:48 +0000)]
Merge branch 'wip/lantw/broadway-Use-the-correct-way-to-call-find_library' into 'master'

broadway: Use the correct way to call find_library

See merge request GNOME/gtk!3999

4 years agoUpdate Portuguese translation
Hugo Carvalho [Sun, 26 Sep 2021 19:58:52 +0000 (19:58 +0000)]
Update Portuguese translation

(cherry picked from commit 73861c11781a0dddfb5b85e7e00dfd26d2225323)

4 years agoUpdate Polish translation
Piotr Drąg [Sun, 26 Sep 2021 15:22:36 +0000 (17:22 +0200)]
Update Polish translation

4 years agoUpdated Lithuanian translation
Aurimas Černius [Sun, 26 Sep 2021 14:22:51 +0000 (17:22 +0300)]
Updated Lithuanian translation

4 years agoGDK/Win32: Use lowercase windows.h
Ting-Wei Lan [Sun, 26 Sep 2021 10:47:18 +0000 (18:47 +0800)]
GDK/Win32: Use lowercase windows.h

Fix build on case-sensitive file systems, so it can be cross-compiled
from Linux with MinGW.

4 years agoUpdate Turkish translation
Emin Tufan Çetin [Sun, 26 Sep 2021 12:23:27 +0000 (12:23 +0000)]
Update Turkish translation

4 years agobroadway: Use the correct way to call find_library
Ting-Wei Lan [Sun, 26 Sep 2021 09:47:33 +0000 (17:47 +0800)]
broadway: Use the correct way to call find_library

While broadway currently doesn't build on Windows, it is still better to
avoid using the old and unsupported way to call find_library.

4 years agoUpdate Serbian translation
Мирослав Николић [Sun, 26 Sep 2021 05:51:31 +0000 (05:51 +0000)]
Update Serbian translation

(cherry picked from commit 1a70c49acd7f43e3c5f67b112c03bbe75cfbc135)

4 years agoUpdate Serbian translation
Мирослав Николић [Sun, 26 Sep 2021 05:33:02 +0000 (05:33 +0000)]
Update Serbian translation

(cherry picked from commit ea633095121e80c6a692ed474beff4dffa57fc2f)

4 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Sat, 25 Sep 2021 13:57:40 +0000 (13:57 +0000)]
Update Brazilian Portuguese translation

(cherry picked from commit df0f886e77edc7062aab2d41b2abeb96d9792558)

4 years agoUpdate Persian translation
Danial Behzadi [Sat, 25 Sep 2021 10:25:05 +0000 (10:25 +0000)]
Update Persian translation

4 years agoMerge branch 'ebassi/rst-man' into 'master'
Matthias Clasen [Fri, 24 Sep 2021 22:03:13 +0000 (22:03 +0000)]
Merge branch 'ebassi/rst-man' into 'master'

Switch man pages to reStructuredFormat

See merge request GNOME/gtk!3995

4 years agoMerge branch 'wip/otte/for-master' into 'master'
Benjamin Otte [Fri, 24 Sep 2021 21:46:20 +0000 (21:46 +0000)]
Merge branch 'wip/otte/for-master' into 'master'

win32: Fix GTK warnings

See merge request GNOME/gtk!3998

4 years agowin32: Fix GTK warnings
Benjamin Otte [Fri, 24 Sep 2021 21:18:15 +0000 (23:18 +0200)]
win32: Fix GTK warnings

4 years agoMerge branch 'wip/otte/gdk-headers' into 'master'
Benjamin Otte [Fri, 24 Sep 2021 21:16:55 +0000 (21:16 +0000)]
Merge branch 'wip/otte/gdk-headers' into 'master'

Clean up GDK headers

See merge request GNOME/gtk!3996

4 years agogdk: Remove gdkinternals.h
Benjamin Otte [Fri, 24 Sep 2021 19:11:00 +0000 (21:11 +0200)]
gdk: Remove gdkinternals.h

4 years agowayland: Don't include gdkinternals.h
Benjamin Otte [Fri, 24 Sep 2021 19:49:38 +0000 (21:49 +0200)]
wayland: Don't include gdkinternals.h

4 years agowin32: Fix gcc warnings
Benjamin Otte [Fri, 24 Sep 2021 19:22:12 +0000 (21:22 +0200)]
win32: Fix gcc warnings

4 years agox11: Don't include gdkinternals.h
Benjamin Otte [Fri, 24 Sep 2021 19:20:15 +0000 (21:20 +0200)]
x11: Don't include gdkinternals.h

4 years agomacos: Don't include gdkinternals.h
Benjamin Otte [Fri, 24 Sep 2021 19:04:47 +0000 (21:04 +0200)]
macos: Don't include gdkinternals.h

4 years agowin32: Don't include gdkinternals.h
Benjamin Otte [Fri, 24 Sep 2021 19:01:13 +0000 (21:01 +0200)]
win32: Don't include gdkinternals.h

4 years agobroadway: Don't include gdkinternals.h
Benjamin Otte [Fri, 24 Sep 2021 18:54:31 +0000 (20:54 +0200)]
broadway: Don't include gdkinternals.h

4 years agogdk: Don't include gdkinternals.h in gdk-private.h
Benjamin Otte [Fri, 24 Sep 2021 18:35:48 +0000 (20:35 +0200)]
gdk: Don't include gdkinternals.h in gdk-private.h

4 years agogdk: Remove gdk.h include form gdkframeclockidle.c
Benjamin Otte [Fri, 24 Sep 2021 18:16:16 +0000 (20:16 +0200)]
gdk: Remove gdk.h include form gdkframeclockidle.c

4 years agogdk: Remove gdk.h include from header
Benjamin Otte [Fri, 24 Sep 2021 18:15:29 +0000 (20:15 +0200)]
gdk: Remove gdk.h include from header

4 years agogdk: Remove gdk.h include from gdk-private.h
Benjamin Otte [Fri, 24 Sep 2021 18:14:16 +0000 (20:14 +0200)]
gdk: Remove gdk.h include from gdk-private.h

4 years agomacos: Actually set the vfuncs
Benjamin Otte [Fri, 24 Sep 2021 20:11:22 +0000 (22:11 +0200)]
macos: Actually set the vfuncs

4 years agoci: Update the Docker image to use
Emmanuele Bassi [Fri, 24 Sep 2021 18:00:09 +0000 (19:00 +0100)]
ci: Update the Docker image to use

4 years agoUpdate Ukrainian translation
Yuri Chornoivan [Fri, 24 Sep 2021 17:06:11 +0000 (17:06 +0000)]
Update Ukrainian translation

(cherry picked from commit 3a0d4d3d13e02bec2cb7e84919bfc5498639af9b)

4 years agoci: Add Python's docutils to the base image
Emmanuele Bassi [Fri, 24 Sep 2021 17:04:09 +0000 (18:04 +0100)]
ci: Add Python's docutils to the base image

We use rst2man for generating our man pages.

4 years agodocs: Remove the last remaining XML files
Emmanuele Bassi [Fri, 24 Sep 2021 17:00:08 +0000 (18:00 +0100)]
docs: Remove the last remaining XML files

4 years agoSwitch man pages to reStructuredFormat
Emmanuele Bassi [Fri, 24 Sep 2021 16:54:41 +0000 (17:54 +0100)]
Switch man pages to reStructuredFormat

It's easier to write than DocBook, and rst2man is faster than xsltproc.

4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Fri, 24 Sep 2021 15:37:24 +0000 (15:37 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

headerbar: Cosmetics

See merge request GNOME/gtk!3994

4 years agoUpdated Czech translation
Marek Černocký [Fri, 24 Sep 2021 13:24:12 +0000 (15:24 +0200)]
Updated Czech translation

4 years agoheaderbar: Cosmetics
Matthias Clasen [Fri, 24 Sep 2021 12:54:04 +0000 (08:54 -0400)]
headerbar: Cosmetics

Use the box api we have.

4 years agoMerge branch 'wip/chergert/undo-fixes' into 'master'
Matthias Clasen [Fri, 24 Sep 2021 12:36:30 +0000 (12:36 +0000)]
Merge branch 'wip/chergert/undo-fixes' into 'master'

texthistory: add barriers after final grouping

Closes #4276

See merge request GNOME/gtk!3989

4 years agoMerge branch 'wip/otte/shittymorph' into 'master'
Benjamin Otte [Fri, 24 Sep 2021 08:50:17 +0000 (08:50 +0000)]
Merge branch 'wip/otte/shittymorph' into 'master'

gdk: Make sure only one GL backend is used

See merge request GNOME/gtk!3992

4 years agogdk: Make sure only one GL backend is used
Benjamin Otte [Thu, 23 Sep 2021 23:47:03 +0000 (01:47 +0200)]
gdk: Make sure only one GL backend is used

Creative people managed to create an X11 display and a Wayland display
at once, thereby getting EGL and GLX involved in a fight to the death
over the ownership of the glFoo() symbolspace.

A way to force such a fight with available tools here is (on Wayland)
running something like:
GTK_INSPECTOR_DISPLAY=:1 GTK_DEBUG=interactive gtk4-demo

Related: xdg-desktop-portal-gnome#5

4 years agotextview: improve undo grouping when overwriting
Christian Hergert [Thu, 23 Sep 2021 02:41:06 +0000 (19:41 -0700)]
textview: improve undo grouping when overwriting

We want to group in more than one undo group when removing a selection
and replacing it with a new character or characters, unless we're
replacing a single character. In that case, the natural thing is to treat
it as an atomic change.

4 years agotexthistory: add barriers after final grouping
Christian Hergert [Thu, 23 Sep 2021 00:08:02 +0000 (17:08 -0700)]
texthistory: add barriers after final grouping

We don't want to allow new items to be grouped into a previous action
group after the end_user_action() is called. This ensures that we add a
barrier action in those conditions.

Fixes #4276

4 years agoMerge branch 'master' into 'master'
Matthias Clasen [Wed, 22 Sep 2021 23:03:18 +0000 (23:03 +0000)]
Merge branch 'master' into 'master'

gtktextview: Fixed arrow key crash.

Closes #4275

See merge request GNOME/gtk!3984

4 years agoMerge branch 'widgetfactory-async-load' into 'master'
Matthias Clasen [Wed, 22 Sep 2021 21:49:15 +0000 (21:49 +0000)]
Merge branch 'widgetfactory-async-load' into 'master'

Revert "Use GtkLoader for image loading"

See merge request GNOME/gtk!3986

4 years agoAdd GtkLoader to gtk4-widget-factory
Matthias Clasen [Wed, 22 Sep 2021 03:04:33 +0000 (23:04 -0400)]
Add GtkLoader to gtk4-widget-factory

Add an async-loading paintable implementation
to gtk4-widget-factory, and use it to load the
jpegs in the background.

4 years agotexture: Document constructors as threadsafe
Matthias Clasen [Wed, 22 Sep 2021 03:08:09 +0000 (23:08 -0400)]
texture: Document constructors as threadsafe

We aren't providing async loading apis here,
but we want to allow applications to create
textures in a thread, to avoid blocking the
main thread.

4 years agoRevert "Add delayed loading for textures"
Matthias Clasen [Wed, 22 Sep 2021 03:09:40 +0000 (23:09 -0400)]
Revert "Add delayed loading for textures"

This reverts commit 4a89cfe2c938512c4580d3697cc08a64e41f5f36.

4 years agoRevert "Use GtkLoader for image loading"
Matthias Clasen [Wed, 22 Sep 2021 03:09:31 +0000 (23:09 -0400)]
Revert "Use GtkLoader for image loading"

This reverts commit da115ad07504d2f10dec93c37d98e1d6fd4b095d.

4 years agoMerge branch 'composetable/accept-long-replacements' into 'master'
Matthias Clasen [Tue, 21 Sep 2021 17:37:06 +0000 (17:37 +0000)]
Merge branch 'composetable/accept-long-replacements' into 'master'

gtkcomposetable: Accept long replacement strings

Closes #4273

See merge request GNOME/gtk!3983

4 years agogtktextview: Fixed arrow key crash.
Jordan Yelloz [Tue, 21 Sep 2021 15:47:32 +0000 (08:47 -0700)]
gtktextview: Fixed arrow key crash.

When pressing the keyboard arrows to move around when the insertion point is
hidden, it causes an assertion error in blink_cb.

Insertion point blinks should only be scheduled when blinking is enabled and the
insertion point is visible.

Closes #4275

4 years agogtkcomposetable: Accept long replacement strings
Martin Kühl [Tue, 21 Sep 2021 14:56:47 +0000 (16:56 +0200)]
gtkcomposetable: Accept long replacement strings

This change removes the assertions limiting replacement strings in the compose table to be less than 20 characters.
The limit seems arbitrary, is not required, will break some users' setups, and problems with it result in applications not launching.

Fixes #4273

4 years agoMerge branch 'wip/otte/titlebar' into 'master'
Benjamin Otte [Tue, 21 Sep 2021 03:08:46 +0000 (03:08 +0000)]
Merge branch 'wip/otte/titlebar' into 'master'

window: Add a titlebar property

See merge request GNOME/gtk!3982

4 years agoreftests: Add tests that check default-size is computed correctly
Benjamin Otte [Mon, 20 Sep 2021 22:59:36 +0000 (00:59 +0200)]
reftests: Add tests that check default-size is computed correctly

Related: #4136

4 years agowindow: Add a titlebar property
Benjamin Otte [Tue, 21 Sep 2021 02:33:52 +0000 (04:33 +0200)]
window: Add a titlebar property

It just turns get/set_titlebar into a property.

4 years agowindow: Make priv->titlebar the titlebar
Benjamin Otte [Tue, 21 Sep 2021 01:48:42 +0000 (03:48 +0200)]
window: Make priv->titlebar the titlebar

It was priv->title_box before - unless priv->titlebar wasn't NULL, then
it was NULL.

Confusing? Yeah, that's why I changed it.

4 years agowindow: Improve set_titlebar() function
Benjamin Otte [Tue, 21 Sep 2021 01:39:19 +0000 (03:39 +0200)]
window: Improve set_titlebar() function

Get rid of a goto and check if the titlebar is already set.

4 years agoMerge branch 'mention_a11y_concern' into 'master'
Matthias Clasen [Mon, 20 Sep 2021 12:15:44 +0000 (12:15 +0000)]
Merge branch 'mention_a11y_concern' into 'master'

Mention that after setting a button child the user is responsible for a11y relations

See merge request GNOME/gtk!3981

4 years agoMention that after setting a button child the user is responsible for a11y relations
Lukáš Tyrychtr [Mon, 20 Sep 2021 08:52:16 +0000 (10:52 +0200)]
Mention that after setting a button child the user is responsible for a11y relations

4 years agoMerge branch 'wip/otte/for-master' into 'master'
Benjamin Otte [Mon, 20 Sep 2021 05:38:27 +0000 (05:38 +0000)]
Merge branch 'wip/otte/for-master' into 'master'

cssprovider: Be clearer about warnings vs errors

See merge request GNOME/gtk!3980

4 years agowayland: Add format hex value to debug print
Benjamin Otte [Mon, 20 Sep 2021 05:04:20 +0000 (07:04 +0200)]
wayland: Add format hex value to debug print

It's how it's listed in the spec, this makes it easier to search.

4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Mon, 20 Sep 2021 04:29:54 +0000 (04:29 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

builder: Drop unused part of private api

See merge request GNOME/gtk!3979

4 years agowindow: Drop some dead code
Matthias Clasen [Mon, 20 Sep 2021 04:01:24 +0000 (00:01 -0400)]
window: Drop some dead code

The gtk_window_set_buildable_property implementation
was only used to set the unused builder_visible flag.
Remove both the flag and the vfunc.

This means we no longer have any set_buildable_property
implementations and could eventually drop that vfunc and
the support for it in GtkBuilder.

4 years agocssprovider: Be clearer about warnings vs errors
Benjamin Otte [Mon, 20 Sep 2021 03:57:14 +0000 (05:57 +0200)]
cssprovider: Be clearer about warnings vs errors

The CSS parser tried to warn about unexpected syntax that the spec
doesn't define as an error.

4 years agobuilder: Cosmetics
Matthias Clasen [Mon, 20 Sep 2021 03:54:38 +0000 (23:54 -0400)]
builder: Cosmetics

4 years agobuilder: Small optimization
Matthias Clasen [Mon, 20 Sep 2021 02:30:34 +0000 (22:30 -0400)]
builder: Small optimization

Use g_object_setv where we can.

It would be much nicer if we could pass the
pspecs we already have, and avoid having GObject
look them up again.

4 years agobuilder: Avoid a pointless call
Matthias Clasen [Mon, 20 Sep 2021 02:13:00 +0000 (22:13 -0400)]
builder: Avoid a pointless call

pspec->name is guaranteed to be interned already.

4 years agobuilder: Drop unused part of private api
Matthias Clasen [Mon, 20 Sep 2021 01:56:43 +0000 (21:56 -0400)]
builder: Drop unused part of private api

The aliases arguments was used to support 'primary',
but we no longer have that, and all callers pass
NULL for aliases. So, just drop it.

4 years agoUpdate Turkish translation
Emin Tufan Çetin [Sun, 19 Sep 2021 17:22:22 +0000 (17:22 +0000)]
Update Turkish translation

4 years agoUpdate Turkish translation
Emin Tufan Çetin [Sun, 19 Sep 2021 17:18:57 +0000 (17:18 +0000)]
Update Turkish translation

4 years agoMerge branch 'resource-cleanup' into 'master'
Matthias Clasen [Sun, 19 Sep 2021 12:53:59 +0000 (12:53 +0000)]
Merge branch 'resource-cleanup' into 'master'

Clean up gesture icons

See merge request GNOME/gtk!3978

4 years agoresources: Treat svgs as xml
Matthias Clasen [Sun, 19 Sep 2021 12:26:14 +0000 (08:26 -0400)]
resources: Treat svgs as xml

They can have their whitespace removed just the same.

4 years agoClean up gesture icons
Matthias Clasen [Sun, 19 Sep 2021 12:13:46 +0000 (08:13 -0400)]
Clean up gesture icons

These had duplicate drawing in them, and were
saved with all the extra Inkscape data.

4 years agoMerge branch 'delayed-loading' into 'master'
Matthias Clasen [Sat, 18 Sep 2021 23:02:00 +0000 (23:02 +0000)]
Merge branch 'delayed-loading' into 'master'

gtk-demo: Cosmetics

See merge request GNOME/gtk!3975

4 years agoUse GtkLoader for image loading
Matthias Clasen [Sat, 18 Sep 2021 18:13:22 +0000 (14:13 -0400)]
Use GtkLoader for image loading

This avoids blocking on image loading while
we have better things to do.

4 years agoAdd delayed loading for textures
Matthias Clasen [Sat, 18 Sep 2021 17:25:47 +0000 (13:25 -0400)]
Add delayed loading for textures

Add a private GdkPaintable implementation that
loads a texture in a thread, and does not show
anything until the texture is loaded. This avoid
blocking on image loading in the main thread.

4 years agoloaders: Add profiler marks
Matthias Clasen [Sat, 18 Sep 2021 18:12:39 +0000 (14:12 -0400)]
loaders: Add profiler marks

These are potentially expensive calls, we
should make sure they show up in profiles.

4 years agoUpdate Catalan translation
Jordi Mas [Sat, 18 Sep 2021 19:15:31 +0000 (21:15 +0200)]
Update Catalan translation